﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DocumentInterchange.Common;
using DocumentInterchange.Filters;

namespace DocumentInterchange.Controllers
{
	[InitializeSimpleMembership]
    public class HomeController : Controller
    {
        //
        // GET: /Login/

        public ActionResult Index()
        {
			return RedirectToAction("Input", "Home");
        }

		[AllowAnonymous]
		public ActionResult Input()
		{
			ViewBag.Name = ClientsAccess.getClientName();
			ViewBag.Company = ClientsAccess.getClientCompany();
			return View();
		}

		public ActionResult Drafts()
		{
			ViewBag.Name = ClientsAccess.getClientName();
			ViewBag.Company = ClientsAccess.getClientCompany();
			return View();
		}

		public ActionResult Deleted()
		{
			ViewBag.Name = ClientsAccess.getClientName();
			ViewBag.Company = ClientsAccess.getClientCompany();
			return View();
		}

		public ActionResult Sent()
		{
			ViewBag.Name = ClientsAccess.getClientName();
			ViewBag.Company = ClientsAccess.getClientCompany();
			return View();
		}

    }
}
